package com.groupbuying.cheetah.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.cheetah.dao.CheetahOrderFinanceorderDao;
import com.groupbuying.cheetah.domain.CheetahOrderFinanceorderDO;
import com.groupbuying.cheetah.service.CheetahOrderFinanceorderService;



@Service
public class CheetahOrderFinanceorderServiceImpl implements CheetahOrderFinanceorderService {
	@Autowired
	private CheetahOrderFinanceorderDao cheetahOrderFinanceorderDao;
	
	@Override
	public CheetahOrderFinanceorderDO get(String orderid){
		return cheetahOrderFinanceorderDao.get(orderid);
	}
	
	@Override
	public List<CheetahOrderFinanceorderDO> list(Map<String, Object> map){
		return cheetahOrderFinanceorderDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cheetahOrderFinanceorderDao.count(map);
	}
	
	@Override
	public int save(CheetahOrderFinanceorderDO cheetahOrderFinanceorder){
		return cheetahOrderFinanceorderDao.save(cheetahOrderFinanceorder);
	}
	
	@Override
	public int update(CheetahOrderFinanceorderDO cheetahOrderFinanceorder){
		return cheetahOrderFinanceorderDao.update(cheetahOrderFinanceorder);
	}
	
	@Override
	public int remove(String orderid){
		return cheetahOrderFinanceorderDao.remove(orderid);
	}
	
	@Override
	public int batchRemove(String[] orderids){
		return cheetahOrderFinanceorderDao.batchRemove(orderids);
	}

	@Override
	public List<CheetahOrderFinanceorderDO> getFinanceorderDO(String orderId){
		return cheetahOrderFinanceorderDao.getFinanceorderDO(orderId);
	}

	@Override
	public int saveList(List<CheetahOrderFinanceorderDO> list){
		return cheetahOrderFinanceorderDao.saveList(list);
	}

}
